//app.js
var baseUrl = 'https://www.jiaoyang520.cn';
var imageBaseUrl = 'https://www.jiaoyang520.cn/profile/images/';
App({
	onLaunch: function () {
		// 展示本地存储能力
		var logs = wx.getStorageSync('logs') || []
		logs.unshift(Date.now())
		wx.setStorageSync('logs', logs)
		wx.setStorageSync('baseUrl', baseUrl)
		wx.setStorageSync('imageBaseUrl', imageBaseUrl)
	},

	globalData: {
		userInfo: null,
		token: ''
	}
})